home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
root
/
.bash_profile
< prev
next >
Wrap
Text File
|
2005-11-03
|
480b
|
30 lines
#!/bin/bash
alias ls='ls --color'
alias aemerge='ACCEPT_KEYWORDS="~x86" emerge'
alias cp='cp -i'
alias mv='mv -i'
if [ $(tty) == /dev/tty6 ]; then
dostartx=1
CMDLINE=`cat /proc/cmdline`
for x in ${CMDLINE}
do
case "${x}" in
nox)
dostartx=0
;;
esac
done
if [ ${dostartx} == 1 ]; then
echo "Starting a single user X Session"
startx
fi
fi
if [ $(tty) == /dev/tty1 ]; then
cat /root/motd
fi